DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews Namespace / View<T> Class / GroupBy Method / GroupBy<TKey>(Expression<Func<T,TKey>>) Method
The type of the key returned by keySelector.
A function to extract the key for each element.

In This Topic
    GroupBy<TKey>(Expression<Func<T,TKey>>) Method
    In This Topic
    Groups the elements of a view according to a specified key selector function.
    Syntax
    'Declaration
     
    Public Overloads Function GroupBy(Of TKey)( _
       ByVal keySelector As Expression(Of Func(Of T,TKey)) _
    ) As View(Of GroupView(Of TKey,T))

    Parameters

    keySelector
    A function to extract the key for each element.

    Type Parameters

    TKey
    The type of the key returned by keySelector.

    Return Value

    A view containing elements of type GroupView<TKey,TElement> each containing a key value and a view of the elements having that key value.
    See Also